package com.coda.clouddisk.controller.impl;

import com.coda.clouddisk.controller.SuperController;
import com.coda.clouddisk.controller.inter.FileCategoryController;
import com.coda.clouddisk.service.impl.FileCategoryServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/clouddisk/fileCategory")
public class FileCategoryControllerImpl extends SuperController implements FileCategoryController {

    @Autowired
    private FileCategoryServiceImpl fileCategoryService;

    @Override
    public Map<String, Object> convertData(Map<String, Object> data) {
        setSuperService(fileCategoryService);
        return data;
    }
}
